package com.clw.service;


import com.clw.dataobject.Category;

import java.util.List;

/**
 * Created by Administrator on 2017/10/9.
 */
public interface CategoryService {
    List<Category> findAll();

    Category findById(Integer id);

    Category save(Category category);

    Category getTopId(Category category);

    void del(Category category);

    Long getChildrenCount(Integer id);
}
